projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ec6a0
)
(Fset_face_attribute_internal) [MSDOS]: Set font field to 1.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 22 Nov 1995 12:13:35 +0000
(12:13 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 22 Nov 1995 12:13:35 +0000
(12:13 +0000)
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index 738acbd915ccecf030e19ddd21f6ec95d730e3b8..d99ce172d3c652fe2572369fae77074b11e16b97 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-1156,7
+1156,9
@@
DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
if (EQ (attr_name, intern ("font")))
{
#if defined (MSDOS) && !defined (HAVE_X_WINDOWS)
- face->font = 0; /* The one and only font. */
+ /* The one and only font. Must *not* be zero (which
+ is taken to mean an unused face nowadays). */
+ face->font = (XFontStruct *)1 ;
#else
XFontStruct *font = load_font (f, attr_value);
if (face->font != f->output_data.x->font)